import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity('answer_info')
export class AnswerInfo {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ name: 'answer_id' })
  answer_id: number;

  @Column({ name: 'video_id' })
  video_id: number;

  @Column({ name: 'platform' })
  platform: string;

  @Column({ name: 'ic_name' })
  ic_name: string;

  @Column({ name: 'img' })
  img: string;

  @Column({ name: 'img_id' })
  img_id: string;
  
  @Column({ name: 'avatar_img' })
  avatar_img: string;

  @Column({ name: 'avatar_id' })
  avatar_id: string;

  @Column({ name: 'account' })
  account: string;

  @Column({ name: 'create_time' })
  create_time: Date;

  @Column({ name: 'trace_id' })
  trace_id: string;
  
}
